package com.chuang.bootplus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.chuang.bootplus.base.database.BasePO;
import com.chuang.bootplus.base.database.EntityBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2021-08-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TopicComment对象", description="")
public class TopicComment extends EntityBase {

    @ApiModelProperty(value = "评论信息")
    private String message;

    @ApiModelProperty(value = "母id，回复别人的评论或者文章的id")
    private Long parentId;

    @ApiModelProperty(value = "评论人id")
    private Long userId;

    @ApiModelProperty(value = "文章id")
    private Long topicId;

}
